//
//  LoginModel.swift
//  BodyBuilding
//
//  Created by franze on 2017/10/7.
//  Copyright © 2017年 franze. All rights reserved.
//

import UIKit

class LoginModel: NSObject {
    static var sessionID:String!
    static var username:String!
    static var userID:String!
    
    class func getUserInfo(dict:NSDictionary){
        LoginModel.sessionID = dict.value(forKey: "sessionid") as! String
        LoginModel.username = dict.value(forKey: "user_name") as! String
        LoginModel.userID = dict.value(forKey: "id") as! String
    }
}
